package com.tiheima.handler.exception;

import com.tiheima.handler.enums.Code;

/**
 * @author byZhao
 * @create 2025/5/20 16:34
 * @description
 *    异常抛出工具类
 */
public class ExceptionCast {

    public static void cast(Code code) {
        throw new BizException(code);
    }
}
